<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix = "s" uri ="/struts-tags" %> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<link type="text/css" rel="stylesheet" href="include/css/subjects.css" />


	<s:action name="indexAction!searchNewProject" executeResult="false"></s:action>
   
	<div class="top_info">
    	<img src="include/img/subjects.png" />
        <ul>
        	<li class="sub_id">课题ID</li>
            <li class="sub_name">课题名</li>
            <li class="sub_teacher">老师名</li>
            <li class="sub_area">研究领域</li>
            <li class="sub_time">初始发布时间</li>
        </ul>
    </div>
    <hr class="line" />
    <ul class="subject_list">
    <s:iterator value="#request.newProject" id="papNew">
   		<li>   	
   		  <ul>		
   		    <li class="sub_id"><s:property value='#papNew.project.pid'/></li>
   			<li class="sub_name"><a href=javascript:$(".content").load("projectAction!showProject?Pid=<s:property value="#papNew.project.pid"/>")>
   			    <s:property value="#papNew.project.name"></s:property></a>
   			</li>
   			
   			<li class="sub_teacher"><s:property value="#papNew.proTime.tchId"></s:property></li>
   			<li class="sub_area"><s:property value="#papNew.project.field"></s:property></li>   			
   			<li class="sub_time"><s:property value="#papNew.proTime.startTime"></s:property></li>
   		  </ul>		
   		</li>
   		
   		</s:iterator>
  >
        
    </ul>
   